@import "./header";
@import "./footer";
@media (max-width: 768px){
    section{
        .laya-flash{
            .container{
                background-image: none!important;
            }
        }
    }  
}

// -------------------------------------------------------------------------------------------------

section{
    .banner{
        img{
            width: 100%;
        }
    }
    .laya-flash{
        background-color: #fbfaf7;
        padding-bottom: 40px;
        .container{
            background-image: url(../img/flash-bg.png);
            background-position: right bottom;
            background-repeat: no-repeat;
        }
      
        .flash{
            margin-top: 20px;
            margin-bottom: 100px;
            h2{
                font-size: 48px;
                color: #0078d7;
                line-height: 80px;
                font-weight: bold;
            }
            p{
                font-size: 30px;
                color: #666666;
            }
            .flash-item{
                display: flex;
                flex-wrap: wrap;
                margin-top: 50px;
                .item{
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    padding:20px 14px;
                    margin-top: 20px;
                    margin-right: 14px;
                    .item-img{
                        width: 64px;
                        height: 64px;
                        background-color: #0078d7;
                        border-radius: 5px;
                        text-align: center;
                        padding: 8px;
                        
                        img{
                            @include img;
                        }
                    }
                    .item-contnet{
                        padding-left: 14px;
                        width: 210px;
                        height: 39px;
                        p{
                            font-size: 14px;
                            color: #666666;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            display: -webkit-box;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical;
                        }
                    }
                 }
            }
        }
    }
    .laya-advantage{
        padding-bottom: 90px;
        padding-top: 90px;
        .container{
            background-image: url(../img/advantage-bg.png);
            background-position: left bottom;
            background-repeat: no-repeat;
        }
        .advantage{
            h1{
                font-size: 48px;
                color: #8fc31f;
                font-weight: bold;
                margin-bottom: 45px;
                
            }
            .advantage-item{
                display: flex;
                align-items: center;
                margin-bottom: 15px;
                margin-left: 15px;
                div{
                    width:54px;
                    height:54px;
                    border-radius: 50%;
                    background-color: #8fc31f;
                    text-align: center;
                    padding:11px;
                    margin-right: 10px;
                }
                p{
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }

        }
    }
    .laya-product{
        background-color: #0079d7;
        padding-top: 90px;
        padding-bottom: 100px;
        .product{
            color: white;
            h1{
                text-align: center;
                padding-bottom: 30px;
                
            }
            .product-item{
                .item{
                    display: flex;
                    justify-content: space-around;
                    align-items: center;
                    .item-img{
                        width: 66px;
                        height: 66px;
                        .img{
                            @include img;
                        }
                    }
                    .item-content{
                        width: 280px;
                        h3{
                            font-size: 33px;
                        }
                        p{
                            line-height: 29px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            display: -webkit-box;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical;
                        }
                    }
                }
            }
        }
    }
    .laya-game{
        padding-top:80px;
        padding-bottom: 40px;
        .game-head{
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            padding-right: 14px;
            padding-left: 14px;
            h2{
                font-size: 35px; 
            }
            p{
                margin: 0;
            }
        }
        .game-bottom{
            margin: 0 auto;
            margin-top: 50px;
            video{
                border-radius: 15px;
                @media (min-width: 992px){
                    width: 370px;
                    height: 200px;
                }
                @media (max-width: 992px){
                    width: 100%;
                    height: 200px;
                }
               
            }
            .games{
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                div{
                    text-align: center;
                    
                    .game-img{
                        width: 67px;
                        height: 67px;
                        margin: 0 auto;
                        img{
                            @include img;
                        }
                    }
                }
                
            }
        }
    }
    .laya-partner{
        background-color: #f4f4f4;
        padding-bottom: 60px;
        .partner{
            padding-top: 40px;
            h3{
                padding-right: 14px;
                padding-left: 14px;
                font-size: 30px;
            }
            .partner-item{
                display: flex;
                justify-content: space-around;
                flex-wrap: wrap;
                padding-top: 30px;
                .item{
                    background-color: white;
                    width: 110px;
                    height: 45px;
                    margin: 10px auto;
                    
                    img{
                      @include img;
                    }
                }
            }
        }
    }
}
